import request from '@/utils/request';

export function apiGoodsClassifyAdd(data) {
  return request({
    url: '/admin/goods-classify/add',
    method: 'post',
    data
  });
}

export function apiGoodsClassifyEdit(data) {
  return request({
    url: '/admin/goods-classify/edit',
    method: 'post',
    data
  });
}

export function apiGoodsClassifyDel(data) {
  return request({
    url: '/admin/goods-classify/del',
    method: 'post',
    data
  });
}

export function apiGoodsClassifyList(data) {
  return request({
    url: '/admin/goods-classify/list',
    method: 'post',
    data
  });
}

export function apiGoodsAdd(data) {
  return request({
    url: '/admin/goods/add',
    method: 'post',
    data
  });
}

export function apiGoodsEdit(data) {
  return request({
    url: '/admin/goods/edit',
    method: 'post',
    data
  });
}

export function apiGoodsDel(data) {
  return request({
    url: '/admin/goods/del',
    method: 'post',
    data
  });
}

export function apiGoodsList(data) {
  return request({
    url: '/admin/goods/list',
    method: 'post',
    data
  });
}

export function apiExchangeList(data) {
  return request({
    url: '/admin/exchange/list',
    method: 'post',
    data
  });
}
